home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Libris Britannia 4
/
science library(b).zip
/
science library(b)
/
PROGRAMM
/
DB_CLIPP
/
H190.ZIP
/
VERTEX1.EXE
/
VERTEX.CH
< prev
next >
Wrap
Text File
|
1992-09-12
|
4KB
|
112 lines
//--------------------------------------------------------------------------
* VERTEX Header file for various MACROS and
* standard definitions used and useable by
* VERTEX functions.
//--------------------------------------------------------------------------
//---------------------- definitions for VERTEX DATE functions -------------
#define WEEK_BEGIN 1
#define WEEK_END 0
#define OF_WEEK 1
#define OF_MONTH 2
#define OF_QUARTER 3
#define DT_DAY 1
#define DT_WEEK 2
#define DT_MONTH 3
#define DT_YEAR 4
#define _AMERICAN IF(__SetCentury(), "mm/dd/yyyy", "mm/dd/yy")
#define _ANSI IF(__SetCentury(), "yyyy.mm.dd", "yy.mm.dd")
#define _BRITISH IF(__SetCentury(), "dd/mm/yyyy", "dd/mm/yy")
#define _FRENCH IF(__SetCentury(), "dd/mm/yyyy", "dd/mm/yy")
#define _GERMAN IF(__SetCentury(), "dd.mm.yyyy", "dd.mm.yy")
#define _ITALIAN IF(__SetCentury(), "dd-mm-yyyy", "dd-mm-yy")
#define _JAPAN IF(__SetCentury(), "yyyy/mm/dd", "yy/mm/dd")
#define _USA IF(__SetCentury(), "mm-dd-yyyy", "mm-dd-yy")
#define C_AMERICAN 1
#define C_ANSI 2
#define C_BRITISH 3
#define C_FRENCH 4
#define C_GERMAN 5
#define C_ITALIAN 6
#define C_JAPAN 7
#define C_USA 8
//---------------------- definitions for VERTEX FILE functions -------------
#define FI_SIZE 1
#define FI_TIME 2
#define FI_DATE 3
#define FI_ATTR 4
#define MOVE_ALL 0
#define MOVE_NO_SINGLE 1
#define _NOKEY 0
#define _F9 1
#define _F10 2
#define _BEGINNING 1
#define _MENUMODIFY 2
#define _MENURESET 3
#define R_ADDONE 1
#define R_ADDMANY 2
#define R_EDIT 3
#define R_EDITONE 4
//-------------------- definitions for VERTEX ARRAY functions -------------
#define ARRCLEAR 1
#define ARRSETUP 2
#define ARRERASE 3
//---------------------- definitions for VERTEX BOX functions -------------
//---------------------------------------------------------------------------
// Box character definitions
//
// VERTEX_SSSS => the last four characters determine the
// type of border where S = single line,
// and D = double line counting bottom, right,
// top, left.
//
// i.e. SSSS means all single line border,
// SSDD means bottom and right side are
// single line, top and left side are
// double line.
// SDSD means the sides left and right are
// double, and top and bottom are
// single line ..... etc.
//
// VERTEX_NNNN => allows userdefinition of box characters
//
//---------------------------------------------------------------------------
#define VERTEX_NNNN -1
#define VERTEX_SSSS 0
#define VERTEX_SSSD 1
#define VERTEX_SSDS 2
#define VERTEX_SSDD 3
#define VERTEX_SDSS 4
#define VERTEX_SDSD 5
#define VERTEX_SDDS 6
#define VERTEX_SDDD 7
#define VERTEX_DSSS 8
#define VERTEX_DSSD 9
#define VERTEX_DSDS 10
#define VERTEX_DSDD 11
#define VERTEX_DDSS 12
#define VERTEX_DDSD 13
#define VERTEX_DDDS 14
#define VERTEX_DDDD 15